WPStaging\Backend\Modules\Jobs\Database B

Total Complexity 81
Dependencies 10
Dependents 1
Total lines 471
Lines of code 254
Logical lines of code 150
Comment lines 122
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
execute()
A
53 8 25
copyTable()
A
53 8 22
deleteAllTables()
S
50 7 29
startJob()
S
52 6 27
abortIfDirectoryNotCreated()
S
58 6 15
abortIfDirectoryNotEmpty()
S
65 6 8
generateDto()
S
59 5 15
addMissingTables()
S
59 5 14
initialize()
S
58 3 17
getStagingPrefix()
S
64 4 9
isExcludedTable()
S
60 2 16
isCopyProcessStarted()
S
78 3 3
finishStep()
S
66 3 8
shouldAbortIfTableExist()
S
77 3 3
isTableExist()
S
65 3 9
setJob()
S
69 2 7
abortIfExternalButNotPro()
S
69 2 7
abortIfStagingPrefixEqualsProdPrefix()
S
65 2 9
abortIfPrefixContainsInvalidCharacter()
S
68 2 7
copyData()
S
75 1 4